WP_Defender\Component\Crypt S

Total Complexity 37
Dependencies 5
Dependents 10
Total lines 270
Lines of code 150
Logical lines of code 88
Comment lines 97
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
random_bytes()
A
52 9 24
create_key_file()
S
53 5 21
decrypt()
S
55 4 20
get_random_key()
S
55 4 20
random_int()
S
54 4 19
compare_lines()
S
59 3 14
encrypt()
S
61 2 12
get_decrypted_data()
S
68 2 7
get_encrypted_data()
S
68 2 7
get_path_to_key_file()
S
78 1 3
generate_random_key()
S
80 1 3